package com.woniuxy.automotivemanagementsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniuxy.automotivemanagementsystem.entity.Orders;
import com.woniuxy.automotivemanagementsystem.entity.vo.OrdersVo;
import com.woniuxy.automotivemanagementsystem.utils.Result;

import java.util.List;

public interface OrdersService extends IService<Orders> {
    Result create(Orders orders);

    Result queryCondition(OrdersVo ordersVo);

    Result reject(Integer oid);

    Result approve(Integer oid);

    Result batchApprove(List<Integer> oids);

    Result batchReject(List<Integer> oids);
}
